<?php

if (!defined('BASEPATH'))
    exit('No direct script access allowed');

/**
 * Projeto Interdiciplinar
 * Gurpo 1 - Primeira turma do curso de Aux Info da Escom Brasília
 * Criado em: 28/11/2012, 09:32:00
 * Description of m_teste
 *
 *  * @author 2 Sgt Lemoel, 
 *         3 Sgt Albuquerque,
 *         3 Sgt Azambuja,
 *         3 Fabio Moura
 * @since 11/2012
 * @version 1
 */
class M_Teste  extends CI_Model{
    
    
    public function buscaDadosBanco() {
        
        $sql = "SELECT * FROM ORDEM";
        
        return $this->db->query($sql)->result();
        
    }
    
}

?>
